package com.yswy.backstage.authfilter.scheduled;

import com.yswy.backstage.service.ZfbPayKeyService;
import com.yswy.common.enums.PayMethodEnums;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;


@Component
public class ApplicationRunnerImpl implements ApplicationRunner {

    @Autowired
    private ZfbPayKeyService zfbPayKeyService ;
    @Override
    public void run(ApplicationArguments var1) {
//        zfbPayKeyService.checkAliPay(PayMethodEnums.PT_ZFB_USED.getMessage());
        zfbPayKeyService.checkAliPay(PayMethodEnums.ZQFK_ZFB_USED.getMessage());
    }
}
